using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TeleportTiggerArea : MonoBehaviour
{
    public bool isEnter;
    private void OnTriggerEnter2D( Collider2D other )
    {
        if ( other.CompareTag( "Player" ) )
        {
            isEnter = true;
        }
    }

    private void OnTriggerExit2D( Collider2D other )
    {
        if ( other.CompareTag( "Player" ) )
        {
            isEnter = false;
        }
    }
}
